#ifndef C_QRECT_H
#define C_QRECT_H

/****************************************************************************
** QRect C bindings generated from reading C++ file 'qrect.h'
**
** Created: Tue Jul 30 19:22:33 2002
**      by: The Qt Meta Object Compiler ($Revision: 2.53 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

C_EXPORT QRectH QRect_create();
C_EXPORT void QRect_destroy(QRectH handle);
C_EXPORT QRectH QRect_create2(const QPointH topleft, const QPointH bottomright);
C_EXPORT QRectH QRect_create3(const QPointH topleft, const QSizeH size);
C_EXPORT QRectH QRect_create4(int left, int top, int width, int height);
C_EXPORT bool QRect_isNull(QRectH handle);
C_EXPORT bool QRect_isEmpty(QRectH handle);
C_EXPORT bool QRect_isValid(QRectH handle);
C_EXPORT void QRect_normalize(QRectH handle, PRect retval);
C_EXPORT int QRect_left(QRectH handle);
C_EXPORT int QRect_top(QRectH handle);
C_EXPORT int QRect_right(QRectH handle);
C_EXPORT int QRect_bottom(QRectH handle);
C_EXPORT QCOORD QRect_rLeft(QRectH handle);
C_EXPORT QCOORD QRect_rTop(QRectH handle);
C_EXPORT QCOORD QRect_rRight(QRectH handle);
C_EXPORT QCOORD QRect_rBottom(QRectH handle);
C_EXPORT int QRect_x(QRectH handle);
C_EXPORT int QRect_y(QRectH handle);
C_EXPORT void QRect_setLeft(QRectH handle, int pos);
C_EXPORT void QRect_setTop(QRectH handle, int pos);
C_EXPORT void QRect_setRight(QRectH handle, int pos);
C_EXPORT void QRect_setBottom(QRectH handle, int pos);
C_EXPORT void QRect_setX(QRectH handle, int x);
C_EXPORT void QRect_setY(QRectH handle, int y);
C_EXPORT void QRect_topLeft(QRectH handle, PPoint retval);
C_EXPORT void QRect_bottomRight(QRectH handle, PPoint retval);
C_EXPORT void QRect_topRight(QRectH handle, PPoint retval);
C_EXPORT void QRect_bottomLeft(QRectH handle, PPoint retval);
C_EXPORT void QRect_center(QRectH handle, PPoint retval);
C_EXPORT void QRect_rect(QRectH handle, int* x, int* y, int* w, int* h);
C_EXPORT void QRect_coords(QRectH handle, int* x1, int* y1, int* x2, int* y2);
C_EXPORT void QRect_moveTopLeft(QRectH handle, const QPointH p);
C_EXPORT void QRect_moveBottomRight(QRectH handle, const QPointH p);
C_EXPORT void QRect_moveTopRight(QRectH handle, const QPointH p);
C_EXPORT void QRect_moveBottomLeft(QRectH handle, const QPointH p);
C_EXPORT void QRect_moveCenter(QRectH handle, const QPointH p);
C_EXPORT void QRect_moveBy(QRectH handle, int dx, int dy);
C_EXPORT void QRect_setRect(QRectH handle, int x, int y, int w, int h);
C_EXPORT void QRect_setCoords(QRectH handle, int x1, int y1, int x2, int y2);
C_EXPORT void QRect_size(QRectH handle, PSize retval);
C_EXPORT int QRect_width(QRectH handle);
C_EXPORT int QRect_height(QRectH handle);
C_EXPORT void QRect_setWidth(QRectH handle, int w);
C_EXPORT void QRect_setHeight(QRectH handle, int h);
C_EXPORT void QRect_setSize(QRectH handle, const QSizeH s);
C_EXPORT bool QRect_contains(QRectH handle, const QPointH p, bool proper);
C_EXPORT bool QRect_contains2(QRectH handle, int x, int y, bool proper);
C_EXPORT bool QRect_contains3(QRectH handle, PRect r, bool proper);
C_EXPORT void QRect_unite(QRectH handle, PRect retval, PRect r);
C_EXPORT void QRect_intersect(QRectH handle, PRect retval, PRect r);
C_EXPORT bool QRect_intersects(QRectH handle, PRect r);

#endif
